#pragma once

#include "BulletScript\bsBulletScript.h"

namespace BulletScript
{

	struct Bullet : public bs::UserTypeBase
	{
		float x, y;
		float vx, vy;
		float angle;
		float speed;
		float alpha;
		float red, green, blue;

		// Internal variables, do not modify in affector function!
		int _index;
		float _time;
		float _texture;

		bool _active;
		char padding[7]; // pad to 64 bytes

		Bullet() : _active(false) {}
	};
}